package com.pxst.merchant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pxst.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: @Ryan
 * @Description:
 * @CreateTime: 2023-09-12 11:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_merchant_available_bank")
public class SysMerchantAvailableBankEntity extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    // 商户id
    @TableField("merchant_id")
    private Long merchantId;

    // 可用银行id
    @TableField("available_bank_id")
    private Long availableBankId;

    //交易类别 1: FI bank, 2: FI QRPay, 3: FO
    @TableField("trade_type")
    private Integer tradeType;

    // 是否启用
    @TableField("is_enabled")
    private Integer enabled;

    // 信息
    @TableField("message")
    private String message;

}
